<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<style type="text/css">
			.slide-fade-enter-active{
				transition: all .3s ease;
			}
			.slide-fade-leave-active{
				transition:all .8s cubic-bezier(1.0,0.5,0.8,1.0);
			}
			.slide-fade-enter,.slide-fade-leave-active{
				transform: translateX(10px);
				opacity: 0;
			}
		</style>
		<script src="js/vue.js" type="text/javascript" charset="utf-8"></script>
	</head>
	<body>
		<div id="app">
			<button @click="show = !show">
				toggle enter
			</button>
			<transition name="slide-fade">
				<p v-if="show">hello</p>
			</transition>
		</div>
	</body>
	<script type="text/javascript">
		new Vue({
			el:"#app",
			data:{
				show:true
			}
		})
	</script>
</html>
